<?php


namespace App\Logic;


use App\Ability\Verifiable;
use App\Achieve\User;
use Hyperf\Contract\ContainerInterface;

abstract class AbstractLogic
{
    use Verifiable;

    /**
     * @var ContainerInterface;
     */
    public $container;
    /**
     * @var User
     */
    public $user;

    public function __construct(ContainerInterface $container, ?User $user = null)
    {
        $this->container = $container;

        $this->user = $user;
    }
}